﻿<%@ Page Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="JobseekerProfile.aspx.cs"
    Inherits="JobseekerProfile" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
</asp:Content>
<asp:Content ID="contentbody" ContentPlaceHolderID="cphMainBody" runat="server">
     <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <%--<asp:TabContainer ID="TabContainer1" Width="100%" runat="server" ActiveTabIndex="0">
        <asp:TabPanel ID="tbGeneralInfo" TabIndex="0" runat="server">
            <HeaderTemplate>
                General Information</HeaderTemplate>
            <ContentTemplate>
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="tbProfessionalDetails" TabIndex="1" runat="server">
            <HeaderTemplate>
                Professional Details</HeaderTemplate>
            <ContentTemplate>
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="tbProfessiona" TabIndex="2" runat="server">
            <HeaderTemplate>
                ABCD</HeaderTemplate>
            <ContentTemplate>
            </ContentTemplate>
        </asp:TabPanel>
    </asp:TabContainer>--%>
    <table width="100%">
        <tr>
            <td class="tdstyle" valign="bottom" class="leftheading" colspan="2" align="center">
                <img src="images/headingbullet.gif" width="14" height="14">
                JOBSEEKER'S PROFILE
            </td>
        </tr>
        <tr>
            <td class="tdstyle" class="leftsectionunderline" colspan="2">
                <img src="images/spacer.gif" width="1" height="1">
            </td>
        </tr>
    </table>
    <div id="dvAutority" runat="server" visible="false">
        <asp:Wizard ID="wzJobSeekerProfile" Width="80%" runat="server" BackColor="#EFF3FB"
            BorderColor="#B5C7DE" DisplaySideBar="true" BorderWidth="1px" Font-Names="Verdana"
            Font-Size="0.8em" ActiveStepIndex="0">
            <StepStyle Font-Size="0.8em" ForeColor="#333333" />
            <WizardSteps>
                <asp:WizardStep ID="wzUserProfile" runat="server" StepType="Start" Title="General Information">
                    <table width="100%">
                        <tr>
                            <td class="tdstyle" style="width: 25%;">
                                First Name
                            </td>
                            <td class="tdstyle" style="width: 75%;">
                                <asp:TextBox class="txt" ID="txtFirstName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Middle Name
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtMiddleName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Last Name
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtLastName" runat="server"></asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Father Name
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtFather" runat="server"></asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                DOB
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtDOB" runat="server" ></asp:TextBox>
                                <asp:CalendarExtender ID="ce1" runat="server" TargetControlID="txtDOB" ></asp:CalendarExtender>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Gender
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlGender" runat="server">
                                    <asp:ListItem Value="-1" Text="Select"></asp:ListItem>
                                    <asp:ListItem Value="0" Text="Male"></asp:ListItem>
                                    <asp:ListItem Value="1" Text="Female"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                City
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlCity" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Phone No
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtPhoneNumber" runat="server"></asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Mobile no.
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtMobileNumber" runat="server"></asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Email Address
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtEmail" runat="server"></asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                            </td>
                            <td class="tdstyle">
                                <asp:Button class="CSSButton" ID="btnupdateGeneralInfo" runat="server" Text="Update General Info" OnClick="btnupdateGeneralInfo_Click" />
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                    </table>
                </asp:WizardStep>
                <asp:WizardStep ID="wzProfessionalDetails" runat="server" StepType="Step" Title="Professional Details">
                    <table width="100%">
                        <tr>
                            <td class="tdstyle" style="width: 25%;">
                                Key Skills
                            </td>
                            <td class="tdstyle" style="width: 75%;">
                                <asp:TextBox class="txt" ID="txtKeySkills" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Resume headline
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtResumeheadline" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Resume Summary
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtResumeSummary" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Total Experience
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlTotalExp" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Funtional Area
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlFuntionalArea" Width="250px" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                CTC
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtCTC" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr id="trExpectedCTC" runat="server" visible="false">
                            <td class="tdstyle">
                                Expectd CTC
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtExpectedCtc" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Current Designation
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtCurrentDesignation" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        
                        <tr>
                            <td class="tdstyle">
                                Current Company
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtCurrentCompany" runat="server"> </asp:TextBox>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Preferred Location
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlPreferedLocation" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Current Location
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlcurrentLocation" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Resume
                            </td>
                            <td class="tdstyle">
                                <asp:FileUpload ID="fuResume" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                            </td>
                            <td class="tdstyle">
                                <asp:Button class="CSSButton" ID="btnUpdateProfessionalDetails" runat="server" Text="Update Professional Details"
                                    OnClick="btnUpdateProfessionalDetails_Click" />
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                    </table>
                </asp:WizardStep>
                <asp:WizardStep ID="wzProject" runat="server" StepType="Step" Title="Project Details">
                    <table width="100%">
                        <tr>
                            <td class="tdstyle" style="width: 25%;">
                                Project Title
                            </td>
                            <td class="tdstyle" style="width: 75%;">
                                <asp:TextBox class="txt" ID="txtProjectTiltel" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Start Date
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtStarrDate" runat="server"></asp:TextBox>
                                <asp:CalendarExtender ID="clsStartDate" runat="server" TargetControlID="txtStarrDate"></asp:CalendarExtender>
                                </asp:Calendar>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                End Date
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtEndDate" runat="server"></asp:TextBox>
                                <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtEndDate"></asp:CalendarExtender>
                                </asp:Calendar>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Designation
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtDesignation" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Project Location
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlProjectLocation" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Project Details
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtProjectDetails" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Role
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtRole" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Role Description
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtRoleDescription" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Team Size
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtTeamSize" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Key Skills
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtProjectKeySkills" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Employment Type
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtProjectEmploymentType" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Employer Name
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtEmployer" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Experience (Months)
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlProjectExperience" runat="server">
                                </asp:DropDownList>
                                <asp:Button class="CSSButton" ID="btnAddProject" Text="ADD" runat="server" OnClick="btnAddProject_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle" colspan="2">
                                <asp:Panel ID="pnlProjectDetails" runat="server" ScrollBars="Auto" Width="600px">
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                <asp:Button class="CSSButton" ID="btnProjectDetaiils" Text="Update Project Details " runat="server"
                                    OnClick="btnProjectDetaiils_Click" />
                            </td>
                            <td class="tdstyle">
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle" colspan="2">
                                <asp:GridView runat="server" CellPadding="3" GridLines="Vertical" BackColor="White"
                                    BorderColor="#999999" BorderWidth="1px" BorderStyle="Solid" ForeColor="Black"
                                    ID="grdProjectDetails" AutoGenerateColumns="false" OnRowDataBound="grdProjectDetails_RowDataBound">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Project Title">
                                            <ItemTemplate>
                                                <asp:Label CssClass="lbl" ID="lblProjectTitle" runat="server" Text='<%#Eval("PROJECT_TITLE") %>'></asp:Label>
                                                <asp:HiddenField ID="hfID" Value='<%# Eval("ID") %>' runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <%--<asp:BoundField DataField="PROJECT_TITLE" HeaderText="Project Title"></asp:BoundField>--%>
                                        <asp:BoundField DataField="DURATION_START" HeaderText="Start Date" DataFormatString="{0:dd/MMM/yyyy}">
                                        </asp:BoundField>
                                        <asp:BoundField DataField="DURATION_END" HeaderText="End Date" DataFormatString="{0:dd/MMM/yyyy}">
                                        </asp:BoundField>
                                        <asp:BoundField DataField="DESIGNATION" HeaderText="Designation"></asp:BoundField>
                                        <asp:BoundField DataField="PROJECT_LOCATION" HeaderText="Project Location"></asp:BoundField>
                                        <asp:BoundField DataField="PROJECT_DETAILS" HeaderText="Project Details"></asp:BoundField>
                                        <asp:BoundField DataField="ROLE" HeaderText="Role"></asp:BoundField>
                                        <asp:BoundField DataField="ROLE_DESCRIPTION" HeaderText="Role Description"></asp:BoundField>
                                        <asp:BoundField DataField="TEAM_SIZE" HeaderText="Team Size"></asp:BoundField>
                                        <asp:BoundField DataField="SKILLS_USED" HeaderText="Key Skills"></asp:BoundField>
                                        <asp:BoundField DataField="EMPLOYMENT_TYPE" HeaderText="Employment Type"></asp:BoundField>
                                        <asp:BoundField DataField="EXPERIENCE" HeaderText="Experience (Months)"></asp:BoundField>
                                    </Columns>
                                    <AlternatingRowStyle BackColor="#CCCCCC"></AlternatingRowStyle>
                                    <FooterStyle BackColor="#CCCCCC"></FooterStyle>
                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White"></HeaderStyle>
                                    <PagerStyle HorizontalAlign="Center" BackColor="#999999" ForeColor="Black"></PagerStyle>
                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White"></SelectedRowStyle>
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </asp:WizardStep>
                <asp:WizardStep ID="wzTechnologyUsed" runat="server" StepType="Step" Title="Technology Used">
                    <table width="100%">
                        <tr>
                            <td class="tdstyle" style="width: 25%;">
                                Technology
                            </td>
                            <td class="tdstyle" style="width: 75%;">
                                <asp:TextBox class="txt" ID="txtTechnology" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Last Used
                            </td>
                            <td class="tdstyle">
                                <asp:TextBox class="txt" ID="txtLastUsed" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Experience(Months)
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlTechnologyExperience" runat="server">
                                </asp:DropDownList>
                                <asp:Button class="CSSButton" ID="BtnAddSkills" Text="Add" runat="server" OnClick="BtnAddSkills_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle" colspan="2">
                                <asp:GridView ID="grdTechnology" runat="server" AutoGenerateColumns="false" BackColor="White"
                                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                                    GridLines="Vertical">
                                    <Columns>
                                        <asp:TemplateField Visible="false">
                                            <ItemTemplate>
                                                <asp:HiddenField ID="hfID" Value='<%# Eval("ID") %>' runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="TECHNOLOGY" HeaderText="Technology" />
                                        <asp:BoundField DataField="LAST_USED" HeaderText="Last Used" DataFormatString="{0:dd/MMM/yyyy}"
                                            HtmlEncode="false" />
                                        <asp:BoundField DataField="EXPERIENCE" HeaderText="Experience(Months)" />
                                    </Columns>
                                    <AlternatingRowStyle BackColor="#CCCCCC" />
                                    <FooterStyle BackColor="#CCCCCC" />
                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                <asp:Button class="CSSButton" ID="btnResumeSkills" Text="Update Technology " runat="server" OnClick="btnResumeSkills_Click" />
                            </td>
                        </tr>
                    </table>
                </asp:WizardStep>
                <asp:WizardStep ID="wzJobDetails" runat="server" StepType="Finish" Title="Job Details">
                    <table width="100%">
                        <tr>
                            <td class="tdstyle" style="width: 25%;">
                                Desired Job Type
                            </td>
                            <td class="tdstyle" style="width: 75%;">
                                <asp:DropDownList CssClass="ddl" ID="ddlDJobType" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Desired Employment Type
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlDemploymentType" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Work Permit Type
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlWorkPermitType" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Have Visa
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlHaveVisa" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                Visa Type
                            </td>
                            <td class="tdstyle">
                                <asp:DropDownList CssClass="ddl" ID="ddlVisaType" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdstyle">
                                <asp:Button class="CSSButton" ID="btnOtherinfo" Text="Update Other Info" runat="server" OnClick="btnOtherinfo_Click"
                                    Style="height: 26px" />
                            </td>
                        </tr>
                    </table>
                </asp:WizardStep>
                <asp:WizardStep ID="wzThankyou" runat="server" StepType="Complete" Title="Thank You">
                    Thankyou for registering with us.</asp:WizardStep>
            </WizardSteps>
            <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
            <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
            <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
            <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
                Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
        </asp:Wizard>
    </div>
</asp:Content>
